package com.yc.project2.org.springframework.context.yc;

import com.yc.project2.org.springframework.annotation.YcLazy;
import com.yc.project2.org.springframework.annotation.YcResource;
import com.yc.project2.org.springframework.annotation.YcScope;
import com.yc.project2.org.springframework.annotation.YcService;

/**
 * @author zwei
 * @create 2024-08-01 20:29
 */
@YcService
@YcLazy
@YcScope("prototype")
public class UserBiz {
    @YcResource("userDao")
    private UserDao userDao;
    public void show(){
        this.userDao.show();
    }
}
